/**
 * Created by ospip on 2017/10/10.
 * Copyright (c) 2017 LLAP. All rights reserved.
 */
public class Point {
    protected int x, y;

    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public Point() {
        this(0, 0);
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public void setX(int v) {
        x = v;
    }

    public void setY(int v) {
        y = v;
    }

    public String toString() {
        return "<Point (" + x + ", " + y + ")>";
    }
}
